#ifndef _HEX_SPI2_H_
#define _HEX_SPI2_H_

extern int SPI2_open(int ch, unsigned int baudrate, unsigned int size, void (*CB)(char *,int));
extern int SPI2_read(int ch, char *buffer, int len);
extern int SPI2_write(int ch, char *buffer, int len);
extern int SPI2_close(int ch);

#endif
